package com.linzp.bishe.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linzp.bishe.entity.Paper;
import lombok.Data;

/**
 * @ClassName PaperExcel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/28 14:48
 * @Version 1.0
 */
@Data
public class PaperExcel {
	@ExcelProperty("论文名称")
	private String paperName;

	@ExcelProperty("发表刊物名称")
	private String publicationName;

	@ExcelProperty("类型")
	private String paperType;

	public Paper getPaper(){
		return new Paper()
				.setPaperName(this.paperName)
				.setPublicationName(this.publicationName)
				.setPaperType(this.paperType);
	}
}
